package org.whl.airapi.dto;


import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.AllArgsConstructor;
import lombok.Getter;
import lombok.NoArgsConstructor;
import lombok.Setter;
import org.whl.airapi.util.annotation.FieldAnnotation;
import org.whl.airapi.util.annotation.RowKeyAnnotation;

/**
 * @author 王浩霖
 * @version 1.0.0 2024/12/26 9:53
 */
@Setter
@Getter
@NoArgsConstructor
@AllArgsConstructor
@TableName("air_hum_air")
public class Hum {
    @TableId(type = IdType.NONE)
    @RowKeyAnnotation
    @FieldAnnotation(alias = "湿度")
    private String Humidity;
    @FieldAnnotation(alias = "PM25")
    private int PM25;
    @FieldAnnotation(alias = "PM10")
    private int PM10;
    @FieldAnnotation(alias = "SO2")
    private int SO2;
    @FieldAnnotation(alias = "NO2")
    private int NO2;
    @FieldAnnotation(alias = "CO")
    private int CO;
}
